<div class="bg">
    <div class="main">
        <slot></slot>
    </div>
</div>

<style>
    .bg{
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .main{
        position: relative;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 5rem 10rem;
        border-radius: 10px;
        text-align: center;
        color: white;
        box-sizing: border-box;
    }
</style>